package com.durian.base.frame.titlebar

import android.view.View
import com.durian.base.frame.activity.ActivityFrame

/**
 * 说明：ISuperTitleBar
 * <p/>
 * 作者：Fanly
 * <p/>
 * 类型：Class
 * <p/>
 * 时间：2020/08/14 16:48
 * <p/>
 * 版本：version 1.0
 */
interface ISuperTitleBar{
    /**
     * 绑定titleBar
     */
    fun createTitleBar(activity: ActivityFrame): View?

    fun bindActivity(activity: ActivityFrame)

    fun bind(activity: ActivityFrame,view: View)

    /**
     * 解绑titleBar
     */
    fun unBind()
}